package com.bwlcums.utils;

import java.io.IOException;
import java.io.PrintWriter;

import javax.servlet.http.HttpServletResponse;

public class SystemPageWriter {

	public static void writeToPage(HttpServletResponse response, String obj){
		try {
			response.setContentType("text/html;charset=UTF-8");
			PrintWriter writer = response.getWriter();
			writer.print(obj);
			writer.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
